package com.fjjn.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 需要用到延迟队列时统一在这里定义枚举
 */
@Getter
@AllArgsConstructor
public enum RedisDelayQueueEnum {
    PAY_CALLBACK("PAY_CALLBACK","支付回调","payService"),
    E_SIGN_CALLBACK("E_SIGN_CALLBACK","e签宝签约回调",""),
    ;

    /**
     * 延迟队列redis key
     */
    private final String code;

    /**
     * 描述
     */
    private final String desc;

    /**
     * beanId，通过ApplicationContext#getBean(beanId)来获取bean
     */
    private final String beanId;


}
